public class Teacher extends Person {
    private String tID; // 教师编号

    public Teacher() {
        super();
    }

    public Teacher(String name, String tID, String birth, String gender, String college, String major) {
        super(name, tID, birth, gender, college, major);  // 调用父类的构造函数
        this.tID = tID;
    }

    public void setTID(String tID) {
        this.tID = tID;
    }

    public String getTID() {
        return tID;
    }
}